package com.wanyang.dto;

import com.github.pagehelper.IPage;
import lombok.Data;

@Data
public class PageDTO implements IPage {
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    @Override
    public Integer getPageNum() {
        return pageNum;
    }

    @Override
    public String getOrderBy() {
        return null;
    }
}
